class Altman:
    how:str
    def run(self):
        print('Animal is running...')

class Peter(Altman):
    who:str
    def run(self):
        print('Peter is running.')
    @staticmethod
    def action():
        print('Action')

class Allen(Altman):
    where:str
    def run(self):
        print('Allen is running.')
    @staticmethod
    def action(action:str):
        print(f'Action.{action}')

"""
    子类继承多个父类，父类中有相同的方法，使用最左边的父类；
    子类可以使用所有父类的方法、属性
"""
class John(Allen, Peter):
    def run(self):
        super().run()

altman = John()
altman.run()
altman.action("X光线")
